package com.ruoyi.community.service;

import java.util.List;

import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.community.domain.OwnerActivityEnroll;
import com.ruoyi.community.domain.BaseActivityRegisterRequest;

/**
 * 活动报名详情Service接口
 * 
 * @author ruoyi
 * @date 2021-12-13
 */
public interface IOwnerActivityEnrollService
{

    public OwnerActivityEnroll selectOwnerActivityEnrollById(String id);

    public List<OwnerActivityEnroll> selectOwnerActivityEnrollList(OwnerActivityEnroll ownerActivityEnroll);

    // 查询活动id对应的报名记录
    public List<SysUser> selectOwnerActivityEnrollListById(String id);

    public int insertOwnerActivityEnroll(OwnerActivityEnroll ownerActivityEnroll);

    public boolean hasEnrolled(BaseActivityRegisterRequest baseActivityRegisterRequest);

    public int updateOwnerActivityEnroll(OwnerActivityEnroll ownerActivityEnroll);

    public int deleteOwnerActivityEnrollByIds(String[] ids);

    public int deleteOwnerActivityEnrollById(String id);
}
